package com.swfee.qinben;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.swfee.qinben.base.AppBaseActivity;
import com.swfee.qinben.util.CurenActivitUtils;

public class AppointmentApplyActivity extends AppBaseActivity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.appointment_apply_main);
		//
		// 加载数据
		//
		Button submitApply = (Button) findViewById(R.id.submit_apply);
		submitApply.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {

				setContentView(R.layout.appointment_apply_success_main);
				Button appApplayContinue = (Button) findViewById(R.id.app_applay_continue);

				appApplayContinue.setOnClickListener(new OnClickListener() {

					@Override
					public void onClick(View arg0) {

						CurenActivitUtils.startActivity(
								AppointmentApplyActivity.class, true);

					}
				});
			}
		});

	}

}